Make it work on OS X

Was just missing an import and calling super on MacOSX.