v0.011

          Fix various compilation issues on threaded perls