lib should be in smae dir as binary