updated to be able to compile for 10.9