Image twiddler fixes

Fixing some shared object issues