on Windows, definition of dllimport function is not allowed