For OSX, post process extension modules to insert @executable_path.
For OSX 10.9 and clang 503.0.40, remove compilation warnings.