Fixes sim osx

There were some compilation failures after 10.9