Removed warnings on Linux/Darwin for warning: conversion from string literal to char * is deprecated [-Wdeprecated-writable-strings]. Compiles without warnings now