only compile .cpp files