Fixing library build