Fixed invoking elastix API with clang (gcc needs testing)