WIP: fix run time linking to shared lib