build: fix symlinked .config handling