Adapted PyPy check to use platform.python_implementation

The string `sys.version` should not be used for any version / platform comparisons as there are no guarantees on its contents. Instead the value of `platform.python_implementation()` should be used.