Make it compile with special object dir