Added a bunch of compiler directives and typedefs for primitive types.