add conffiles, use proper optimization flags when building.