Invoke project() before setting PROJECT_SOURCE_DIR.
Merge pull request #4 from lslah/fix-cmakelists

Invoke project() before setting PROJECT_SOURCE_DIR.