fix compile for defy
fix compile for defy #2
disable compat hex_to_bin
Fix building with relative paths

Change-Id: I2c1072df1ff45262b557b1d34d835c6289bddf62