Add missing header for isnan declaration