Add mac library