correction to not statically link against shared object