Thanks @ScruffR. Yes, the last error was pretty obvious - I was fixated on the former error.
I was able to get it to compile by making these changes, but first I had to add some #defines to the library .h file because I was getting errors stating that bitRead was not defined. I got the answer for that error from the following post:
Adding those defines allowed the code to compile. Now I just have to see if it works.