misc: Add functions to get the version at runtime