Get a basic Linux build working

This PR attempts to get Brightray building on Linux. It's likely that many things still won't work once we're building successfully, but that can be taken care of later.

/cc @peff