Labour demand and financial market imperfections