fix error codes in tokutek's build script