Fix build, double buffer

Signed-off-by: Keith Packard <keithp@keithp.com>
Use present extension

Signed-off-by: Keith Packard <keithp@keithp.com>