gbm: use the loader util lib