Fix compiling with non doubles

UCC git Repository :: git.ucc.asn.au