foreman-api: make it compatible with building on squeeze