Set values to null windows build dont start with null
Windowsify and add the datadir to appdata struct for win32 chdir to datadir