some more const_cast’s for 10.7 veclib compatibility