Fixed gtest building as debug in release