Fix CCFLAGS handling

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Dynamic Linking support added to the buildsystem

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

Dynamic Linking support added to the buildsystem
Fix CCFLAGS handling