Only include toolkit specific dependencies if toolkit is defined