Improve ace engine port detection on Windows