[FIX] Setup correct compilation flags

This PR fixes issue #24. 
N.B.: this is essentially *nix-specific.