fixing library build