Improved the build system
Do not output debug files in release mode