Adapted lib OSSolaris for openindiana