Added Linux makefile; compile fixes for Linux