make runtime library (c++) header-only
fix header references