Updated build script to exclude certain files and folders.