fix swig exports for linux