auto_build: Fix for odd issue on some platforms