remove redundant --parents switch from build.sh

fixes #779