Domino getAsLong() compilation fix