Compilation errors on Windows (and Linux)