Fix CCFLAGS handling

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Merge pull request #62 from vinzenz/ccflags-handling

Fix CCFLAGS handling