cbuf .h + modernized config-scripts