Build script work and 1.7.8 support