YOu might need to run $ sed -i "s/^static//" *.cl to remove the static modifier from the (inclid) cl files.