make sure we use Julia-defined C-based types