Fork osext and support Solaris