add flags for mac os 10.6
Merge pull request #5 from duthils/mac-10.6

add flags for mac os 10.6