Fix build on OSX by adding missing include (fixes #342)