Added OS Detection in makefile

Added OS detection to Makefile 
That allows one to use a different Makefile.config depending of the OS one is compiling in