Added -Wno-deprecated option for MacOSX compilation