forgot SHARED libtype enabled; switched to STATIC