Don't use check_library for libm