Improved Makefile

ADDED:
 - makefile detects g++ compiler available
 - makefile sets output dir based on OS

FIXED:
 - closed #4