Compiling fixed for non-debug mode