more cleanups
added library build