You don't want to depend on the symlinks, things should work without requiring the user to create any symlink. It should depend on what actual devices are present on the machine,
So, directly stat /dev/ttyS*, then check dosdevices for anything overriding these?