Android build compiles but does not link