Fix require when not working from path