Using __DIR__ in require_once, to fix travis errors