fixes to compile on lxplus