Use BUILDDIR instead of relative path in script