add flags for mac os 10.6
revert changes to compilation flags for win32
Merge pull request #76 from duthils/mac-10.6

add flags for mac os 10.6