OSL build improvements

This improves support for custom OSL installs, and fixes the GafferOSL build for GCC 4.1.2. This is sufficient to build GafferOSL at IE with some tweaks to the config, but I haven't included those as we might not want to build it as a matter of course immediately, and I'd like to get these changes merged now.