Working out bugs for building on Linux