[ObjWriter/Linux] Fix build breaks (#5357)
[ObjWriter/Linux] Fix build breaks (#5357)

- Сompatibility checks for cross compilation
	- Removed "flags duplicates" workaround

Signed-off-by: Petr Bred <240e5f80fc72498dce662d23121702ab806c37e1@gmail.com>
gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert