Fix ambiguous call to std::pow