Vastly simplified the ruby C extension build and fixed broken dependencies.
Use 'bool' less so it's easier to copy this project