Correctly search for libxsd and use python script instead of CMake custom target to generate XSD code.