SOLARIS: Reset syscalls on mod_install failure