(AIX) (#11581) aix 5.3 and aix 6.1 run puppet resource error

Fixes undefined method error and correctly uses static methods