support PIE and fix compile error on android-ndk-r9

Android L support only PIE enabled binary.