Fix for the problem that some compiler versions on the mac cannot deal with one statement in the code - now exchanged for a more lengthy, but equivalent statement.