changes needed on Ubuntu 14.04 and SL7 build