Remove useless libraries