Fixing non-SSL build