Refactor *nix version Hook::Unprotect()