some OS specific stuff

it just didnt work out well otherwise.. macs are funky