added dependency check on build.py