fix some issues building grunt