Cmake isnan isinf checks

Changed strategy for looking for isnan/isinf that doesnt tie it to uclibc like in #131.