Windows/execv: Import modules before calling log setup.