detect available libs without throwing off lint