Fixed build setting bug