Add temporary workaround for missing 'percentile' function in old numpy versions.