Revert "Build the binary sprite into static/target."

This reverts commit e1f3b702ad395675d0db56eec5f2fd274f08929e.
Put back the good parts of compiling sprite to static/target.