make missing optional perl modules not to fail at compile stage