added linux support in the form of linuxbrew and by fiddling with a bunch of system checks