[UP-4274]  Add headless flag to where ant spawns a process.
[UP-4274]  Set headless property during build so that the build doesn't steal focus on OSX