Modify build script to clean up UE's mess