added -p option to mkdir in build.sh to prevent failure when exists
Merge pull request #797 from adamralph/779

added -p option to mkdir in build.sh to prevent failure when exists