more library and build optimizing