require only what is needed for build