configure build correctly this time