better error checking build.py, don't include cpw classes