Enabled definition on Windows to export functions.