added support for linux. Compiles now out of the box