Explicitly include 'math.h' so we get 'isnan' (#9)