more fixes for building using the Max 6.1.1 SDK