fixed hook paths in postinstall/uninstall