Fixed invocation on MacOSX