cleanup code
correct fe support code prototypes for 64-bit build