Fix dtd issue when compiling