conditionally load dev dependencies in build