fix make jsdemo after make clean

Create build directory when needed.