osdep: Make os-win32.h and os-posix.h handle 'extern "C"' themselves