Add support for building with uselongdouble