Add conditions to dependency sections. Fixes #76