Fixed build on Release mode.