Fix test.h compatibility with OS X
Fix compiler warnings in shParams.c
Merge commit '20ff3e7fca7d0510932e24a10f64d4d52d72ee24'
Fixed compilation errors in EB demo.
Amended readme.