Modification to compile on Linux