Changed NULL to nullptr. Enabled c11.