Commodity markets and real investments