add getcwd to platform/windows.h