Fully separated out the linux and Mac makefiles.