remove _get_version, inline intead

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>