_PTR_ used to be an alias for *. boolean used to be a typedef name for unsigned long. Both came from psptypes.h:
#define _PTR_ *
...
typedef unsigned long boolean; /* Machine representation of a boolean */
This all got changed in MQX 4.1 and now standard types are used.
I think your options are either wait for Freescale to fix the awk scripts; fix them yourself; or create a header file with the necessary definitions to get the generated code to compile. I think I would probably choose the third option.