get curl building in Android-style and include it the build

refs #1548