[PD] compilation of sqlsingle on OS X (UB)