fixing .so vs. .a library conflict