Fixed release mode compilation.