correct issues with error handling in native program error stream and support relocation of files following build
error reporting for hxcpp relocate