Add logging as build dependency

During build a rake tasks (apipie) is run so we require logging during
build time.