Problems compiling on certain versions of Linux