mrpd: win32 build, add calling interfaces to support compilation as a service