fix SAPI path in Windows