Added version flag based on build tooling.