Move to using the same perl code as Makefile.ssl