up #351 fix compilation with bgclang11