Minor changes to make minetest runnable from xcode

Tested on OSX Yosemite with xcode6-beta
Indentation broken.  Also in annother place below.