fix ndk build problems on eclipse and unsatisfied link error for both sample projects