Fixed build to handle .mod dependencies automatically.