update check for CATKIN_ENABLE_TESTING to work with isolated built