fix the build issue when the 'core' file exists on top directory.
add gcov profile support for ns-3-dce.