Fixed build and depenency with mirah compilation

Hi please apply