Fixed .d file parsing