Fix build environment for non ssl