making paths relative to DOCUMENT_ROOT/lib