Construct version data types using printf-like API