fix build when async or ssl arent installed