small amount of cross-platform work

- create macro for GLfloat/GLdouble
- create macros for a few f/d functions