Extending First-order Motion Planners to Second-order Dynamics