Fix dependency specification for CoreCompile target. Log better messages