You add a dependency to "build-essential", but I think you forget to add:

    include_recipe "build-essential"