Further fixes to NAnt build file.