Fix test for release builds.