get dependencies right and compile it.