Fix cmake check for integer related headers