Add bs_version function to expose library version