fix test failure on Win32 - a function need to be exported to be callable.
Created originally on Bitbucket by Gabi Davar
Was already merged in Bitbucket before import, marked as merged by the import user
Created originally on Bitbucket by Gabi Davar
Was already merged in Bitbucket before import, marked as merged by the import user