mocha needs now a new flag
fixed some gcc 4.8.2 nitpicks