Subject: if build.xml not exist, create it

Description:

1) fixed minor bug: /bin/ --> bin/
2) fixed if-statement