V1.4.x fixes

Two small build failures when building on Debian Wheezy.