added make uninstall target, and small fixes