Mac compatibility added

-rdynamic flag removed. CC=gcc-4.9 added
TODO: OS-specific CC-flag
Merge pull request #3 from remynaps/mac

Mac compatibility added