Export compile_app/1, serialize the code
Use absolute path in compile_app/1 & update_path/1

add the option 'report' to compile fun
fix compiling by updating code path when compiling is done