I give up. I don't use Mac.
However, Adrian was somewhat loose with his statement that it should appear where the executable is. It will actually appear in whatever the current directory is. You could run the executable from a different directory.
Presumably you're running it from an IDE and it is assuming what you've shown as your current directory. You could try running it from a terminal instead.