Fix, don't crash on spaces in version string

Handles versions like "VERSION 1.4.14 (Ubuntu)"