Alter gruntfile to fix connect and dist compile