fix some "unknown pragma" warnings