Updated build.xml to only compile when files have been changed

Changed the buildfile so that it doesn't have to needlessly rebuild everything each time you run ant.