Add build.properties and tweak build.xml for a successful build

Tested with a clean environment and ant returned BUILD SUCCESSUL