(Strange) library problem

Try with:

OTHERLIBS  =  -lRooStats -lRooFit -lRooFitCore ...