Link against math library to make QNX library work