Fix version detection for CamanJS

Verified on http://camanjs.com/