Added macro to accept prog_mem variables. New gcc does not allow them by default.