With the transition from command line macro definitions to targopts.h, it was necessary to include system.h before checking if anything was defined.