Fixed compile options not respected when running through builder.