fixed bug when compiling on nonLONGDOUBLE machines