Fix path check on WAMP systems