Fixed compile error in release configuration