Move some more variables to static .mk file.