Fix some compilation warnings in the WinMM code.
getPortList returns an empty set if the requirements cannot be met.

It's up to the developers to deal with this case, anyway.