fixed examples build.sh
build directory should be in root for examples