Dissable reorder and unused variable warnings on OS X platform