add ctypes.sh

Signed-off-by: Jean-Yves Beaujean <jybeaujean@webismymind.be>