Adding optional compiler and linker hardening options as per suggestion from Jacob