move magic configureFlags into the stdenv