Some things you need to do prior to linking