updated to modern dependencies, fixed compilation issues