Check for native libs the unstupid way