fix duplicate ifdef

Change-Id: I0b1d9e703bcb4a025a8a66b76db23a3c1da91b31