Put Windows implementation to its own C file.
Include Objective-C code that works.
macOS implementation is untested.
Add flags for determining generator platform.
Define another variable for window name.
Setup WinAPI.