Moved custom targets file

Moved the custom targets file so that it is the last file imported
before the build happens.