Fix permissions on scripts
Allow vendor files in build for mako