Fix compilation not working correctly with other compilers than gcc.
Fix no default "cc" compiler being used.
Fix using $() instead of ${} for COMPILER variable.
Merge pull request #1 from necrophcodr/develop

Fix compilation not working correctly with other compilers than gcc.