Improved bigendian support by using standard BSD functions
Merge remote-tracking branch 'origin/master' into linux

Conflicts:
	uuid.c