Export the dll function only on windows