Updates to work with OpenBSD 5.4

Here is a small set of changes to allow flashboot to build images for OpenBSD 5.4.  This also happens to be my first pull request.  This also works around issue #33.