Detecting OS/Target when building .Net Core project (Useful when you need to DllImport different lib name by OS).