make: support building on linux

/cc @georgekola @mranney