Revert "remove invalid/duplicate setuid from main from #128", because it makes DT not run on Mac.

This reverts commit ab18ba31de0c68827d52b996dadfdea306e38887.

Conflicts:
	src/main.cpp
Fixed copying memory_layouts in project file