Fixed some issues with grunt distro builds.