Twiddling with Prolog output
fixing version calculation in build script