VERSION toplevel constant is not defined in 1.9 or 2.0. Fixes #665