Fixed the release build overwriting the debug build