Fix Deprecated require path warning