Export C API under Windows
Fix #6: lifetime of TargetData wrt. the parent ExecutionEngine
2.6 compatibility