Fixed bug in new valid_image functions
Fixed bug with new distutils package - moved violating functions to compiler.py
Workaround for conda build with jinja