Fixed library require_once issues.