Cleaned up library generation code
Merge branch 'master' of github.com:kipr/pcompiler