fix windows path related problems

with trailing path separator at the end of the -Dproject.folder argument ant on windows can not find specified target