Fixed bug preventing OS version to be determined