Fix modules include path to be relative project directory.

This change allow to include cocos project directory from another CMakeFiles.txt (with add_subdirectory). And will allow anyone to connect cocos as submodule to their project easily.
Merge pull request #9250 from vovkasm/cmake-fix-modules-include-path-2

Fix modules include path to be relative project directory.