Fixup cmake build with for GIF
Merge branch 'gif-read' into local-mod
add static library option