Fixed CMakeFile.
Fixed code to satisfy Linux standards.