Add Linux support

This patch adds support for Linux by including the proper headers and changing the linker flags in the Makefile.