examples updated to support fcgi linked library