fix config/build, dependencies