Fixed compiler error in Release build