Added an option for supporting deprecated C++ constructs

@tomba the feature involved regenerating the bindings so I wanted to regenerate the Linux ones too. While copying the headers, I decided to look for them in the same dir as the OS X headers for consistency. That's why these changes are mixed in. About the name of the dir you have a point, in fact, Joao and I hesitated a little about it. I have to update the pull for other reasons anyway, so I'm going to change that as well.