Fix for compilation error with some projects