Moved the version check to __init__.py for wheels.