Fixed python3 on OS X Mavericks

Following the same pattern as in https://github.com/mxcl/homebrew/pull/20489/files