Make building DLLs work on Windows
Avoid polluting the global namespace with EXTERN

Though I will register some annoyance that Windows requires these
shenanigans.