Improve S52 PLIB standard compliance.
Correct for multiple AIS alert sound instances FS#1030
Correct AIS alert sound test logic on Windows