Add patches that allow compiling under GCC4.8
Add a `rake patch` task
Merge pull request #97 from cowboyd/gcc48-3.11

Add GCC 4.8 compilation support to the 3.11 branch