changes to compile correctly on lxplus