Modifications to make the compilation on Linux possible