Cannot link to shared lib