Fix resource meta issue in Mac OSX