remove dependencies that are not required when using as library