fixing build and dependencies