Some corrections to compile on Linux