@JonB Shifting it to before any other includes got rid of the error.

There were no other details in the error messsage.