add check for version  macros