reworked dependencies and build config