Add support for min api version check at startup