Add -D__PROG_TYPES_COMPAT__ to build option1

On newer versions of GCC, prog_uint8_t is marked as deprecated so we need to
define __PROG_TYPES_COMPAT__ to be able to use it.