Renamed types.h to hgltypes.h, as having a file named types.h introduces problems with the c standard lib