Fix to build.sh, so that handle glibtoolize on OSX.

This would fix the build problem on OSX.