Fix un-portable code that grabs first byte of version string