Numerous fixes to the OS X Build script

Hey guys!  I started to set up VWF on my Mac and noticed a few improvements that were needed in the build script in order for it to function properly.  I don't fully understand the VWF yet, so hopefully these changes don't break anything.

- Only use sudo when necessary
- Fix accidental line breaks causing script to fail
- Create the /var/www directory if not present

Hope this is helpful!  :thumbsup: