CorePlot: s/pre_install/prepare_command/

Replaced the pre_install hook with a prepare_command script, to avoid deprecation warnings.
Merge pull request #7383 from benzado/master

CorePlot: s/pre_install/prepare_command/