Updated build file in an attempt to fix TeamCity NAnt build error