First attempts to adding linux support. It's broken.