Fix build of OpenCV samples (Linux)
Fix Android build warnings
Fix Windows build warnings
Fix clang build warning
Merge pull request #371 from taka-no-me:fix_build