add instructions on how to build and some fixes