Add CMakeLists.txt

Update instrinsics header component to be more compact. It no longer
pollutes the global macro space.
Fix typo in byteswap for signed integers (would result in infinite loop)
Add rotate_right function to intrinsics component.