Install required packages at compile time for testing.