Solaris refinements - use arch to capture module ID for unload