compiling structs with fcn pointers