use a backwards compatible relative require