use cmake_build_type instead of hard coded 'Release'