fix compilation defs for android/tests.