Handle missing libs better