Adding ifndefs, defines, and endifs