Move source code deletion into ph_autobuild()