Fixed compiler error for Release builds.