Fix some big endian print issues
Fix static build