Fixed build error in Release builds