added 'constants' to OS X