[frontend] Cleanup libraries.