gcc compile fix - include cmath. Buddy: Salva