Oil base paints of today tend to yellow more rapidly because of legislation regarding the ingredients they use in production.
The only thing you can do is to use the best quality you can afford and/or instead of using a gloss opt for a satin or eggshell finish since they have a lower resin content and do not yellow so readily. Just make sure they are oil-based and not water based (often labelled as quick-drying).