Revert "Fix project generator build on linux".

This reverts commit 8f12ae44e9973c9a1a19f5f9c2e63c0cc60b7d1f.
It was erroneously merged into master, the error was already fixed in develop.