fix package build error

Fixed 'grunt package' build errors.