Yet another attempt to fix buildscript.

I just .......... I just don't understand.