Fix typos that prevent .d files being placed correctly to build directories