Remove usage of StringList to improve portability