Fix abs(double) not found on Linux.