[Fix #113] Move version reporting in a separate namespace

This also fixes #117.