Fix awful debug/release robot bricking bug

by adding a few lines to set CMAKE_BUILD_TYPE to RelWithDebInfo if it's left blank.