Better version constraints (thanks @stephpy)