changed the dependencies to optional so it can be used on windows and linux