Added -z flag to makefiles