Fixed library linkage