An attempt to work around npm issue 3958