issue #2404:remove unneeded files
issue #2404:fixed some compiling errors