build setting fixes