Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module. Reviewed-by: jjg
Reviewed-by: darcy, ihse