Adding compatibility for Microsoft Visual C