Make resources work with Mac OS 10.6