Check if `Buffer` is available before using.

Allows for use in client-side environments such as browserify/component. I'm sure they'll support `Buffer` eventually, but this keeps it from throwing an error for now :)