fixed c99 detection, cosmetics