scons: add better compile time check for big files