Compiler now handles libs as well