Set build options after reading pkg template, to override per pkg vars.