finalized new approach according native libs setup on Mac