better memory support for creating assets

solves memory issues while creating assets when more libraries are
included then required for ATT.