Fix undefined reference to pow