Moved all shared definitions to a Makefile.inc file. Made proper
compiler choices and static flag choices based on the uname of the
machine being compiled on. fixes #47.