avoid strlen() usage in the loop
reduce struct sizes by 8 byte on 64 bit
fix condition

substraction of two unsigned
reduced struct sizes by 8 byte each on 64 bit
avoid multiple strlen() calls for the same
avoid multiple strlen() usage
fix condition

comparsion of two unsigned
reduce the union size from 24 to 16 bytes on 64 bit
better way to check for an empty string
check emalloc() result
check if the winver was indeed fetched
reduce the struct size (under circumstances) on 64 bit
better align reduce the struct size by 8 byte on 64 bit
reduce struct size by 8 byte on 64 bit
avoid usage of strlen() in the loop