Fix some line ends and update target SDK to 17 (Android 4.2.2)