Eliminate stupid std::pow(-1,...) error from various compilers