py-sdm: build with gcc-4.9 on OSX