Update to new roboptim-core macros.