Added compile flags for Prathmesh's Newton methods