fixed version check for linix/unix