I solved this problem by assigning DISABLE COLLECTSTATIC to 0 after disabling it temporarily trying to solve a problem occuring in the build phase.