build scripts: fixed mkelf not packing (cd to dir)