make optimized compiles clean now

Removed python code check and the libxml checks, v2 has its own xml
parser and won't be until v2 that python script support will be built in