parrot: add optional deps

Closes #17978.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>