Fix old build config