Fix -fno-delete-null-pointer-checks (#664)

Only use -fno-delete-null-pointer-checks if the supplied compiler knows
the flag. Clang does not understand the flag, and does not need it.
Merge pull request #664 from Kijewski/conditional-fno-delete-null-pointer-checks

clang does not know fno-delete-null-pointer-checks