fixed bug for CMakelists.txt when use pre-defined custom msg/srv