Small fixes based on my tests on OSX

Today I started to do some tests with Appleseed and Blenderseed. I encountered two errors and fixed them. If I encounter any more errors I will try to fix them too. I hope it's okay and of use.