Added OS detection to main Makefile, and src/Makefile for LinuxMint