improved search directory for native libs