Fix pure source build.