Added support for older systems

- Added support for ruby 1.8.7
- Added preliminary support for init.d style init scripts