Fixed version check in install part