modified typedefinitions.h to compile on linux