fix for armadillo lib not found during linking phase