re-factored setup.py to look for environmnet variable to find libgd and libpng