Test building python extensions in C