Fix record data output.
Add '-feature' to compile flags.