dropped back to gnu99 for *nix builds cuz of travis ci using gcc 4.6.x