Patch for issue #169 to fix compilation with Scala 2.11

This is the patch which fixes issue #169. I couldn't figure out how to add it to the issue itself, my GitHub skills are poor.

The logic probably wants refactoring so the default argument isn't necessary, but this is a straightforward fix until then.