This adds additional checks for the compile phase to avoid missing files in the released builds.
The build is now done into isolated folders, and then copied into the shared target folder to avoid issues with the compiler replacing or removing files.