Proper use of boolean in MAC and Windows