WIP win32 sc auth merge fixes: to allow for running under linux