Adjust build lifecycle