set bsd style, fix compiling under gcc