fixed build script (added SDK dir creation)