removed unused files
use CMAKE_BUILD_TYPE for build type