Remove shlib version, add -fstack-protector to CPPFLAGS and remove the MAKE_ENV from the Makefile. Taken from MC.