Fixed path in detect script and added done message in compile script.

Change-Id: I0ad68beeff33ab14eae4b0c93f2836dd68a67189