build fixes for quantal