add OS Test for exec on windows without export

This solve execution problem on windowsw