- fix problem when generating dynamic reconfigure file.
- add default build type setting in CMakeList.txt.