Fixed release mode build.