bugfix: pow10 was a glibc nonposix extension
It as been removed from recent version of GLibc. This patch correct it by defining a new pow10, using the stdlib pow.