Fixed build from binary, for lua test script