Fixed macros, bitfields, and some Copy implementations to make it compile on latest.
Merge pull request #479 from sectopod/buildfix

Fixed macros and bitfields to compile on latest