Adjust makefile and headers for Linux.